/*
BraikPoint
  lg: 1200px
  md: 992px
  sm: 767px
  xs: 576px
 */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.475;
  color: #fff;
  font-family: "Arial", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}
/* header-page start */
.header-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 40px;
}

.header-page__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-page__ul {
  display: flex;
  margin: 0;
  list-style: none;
}

.header-page__link {
  display: block;
  padding: 10px 17px;
  font-size: 14px;
  transition: transform .2s;
  color: #fff;
  text-decoration: none;
}

.header-page__link.is-active {
  border-radius: 5px;
  background: #643a79;
}

.header-page__link:not(.is-active):hover {
  border-radius: 5px;
  text-decoration: underline;
  transform: scale(1.1);
  cursor: pointer;
}

.header-page__link:not(.is-active):active {
  transform: scale(1);
}

@media(max-width: 992px) {
  .header-page__end {
    display: none;
  }
}
@media(max-width: 320px) {
  .header-page {
    padding: 40px 10px;
  }
}
/* header-page end */

/* section-welcome start */
.section-welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 600px;
  text-align: center;
  background-color: #87509c;
}

.section-welcome__container {
  position: relative;
}

.section-welcome__title {
  max-width: 920px;
  text-align: center;
  color: #f7f3ea;
  margin: 0 auto 35px;
}
/* section-welcome end */

@media(max-width: 992px) {
  .section-welcome__title {
    max-width: 660px;
    margin-bottom: 50px;
  }
}
@media(max-width: 320px) {
  .section-welcome__title {
    font-size: 22px;
  }
}
/* section-welcome end */

/* section-services start */
.section-services {
  background: #17c2a4;
}

.section-services__container {
  position: relative;
  text-align: center;
}

.section-services__title {
  margin: 20px auto;
  color: #fff;
}
.section-services__title.medium {
  font-size: 22px;
}
.section-services__text {
  margin: 0 auto;
  max-width: 610px;
  color: #fff;
}

.section-services__end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 80px;
}

.section-services__item {
  display: block;
  width: 200px;
  height: 300px;
}
.section-services__icon {
  margin-bottom: 50px;
  height: 130px;
}

@media (max-width: 767px) {
  .section-services__item {
    height: 350px;
    margin: 0 auto;
  }
  .section-services__end {
    flex-direction: column;
  }
}

@media (max-width: 320px) {
  .section-services__title {
    font-size: 23px;
  }
  .section-services__text {
    font-size: 14px;
  }
}
/* section-services end */

/* section-team start */
.section-team {
  background: #e7f1f8;
}

.section-team__container {
  position: relative;
  text-align: center;
}

.section-team__title {
  margin: 20px auto;
  color: #3c4761;
}

.section-team__separate {
  background: #c8d9e5 !important;
}

.section-team__link {
  text-decoration: none;
  color: #48c1e9;
}
.section-team__link:hover {
  text-decoration: underline;
}

.section-team__text {
  color: #3c4761;
}

.section-team__end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 80px;
}

.section-team__item {
  display: block;
  width: 210px;
  height: 500px;
}

.section-team__name {
  margin: 0 auto;
  color: #3c4761;
  font-size: 22px;
}

.section-team__icon {
  margin-bottom: 50px;
  height: 200px;
  width: 200px;
  border-radius: 100px;
  background: #878787;
}

@media (max-width: 768px) {
  .section-team__item {
    margin: 0 auto 80px;
  }
  .section-team__end {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .section-team__text {
    font-size: 14px;
  }
}
/* section-team end */

/* section-skills start */
.section-skills__container {
  position: relative;
  text-align: center;
}

.section-skills__title {
  margin: 20px auto;
  color: #3c4761;
}
/* .section-skills__title.medium {
  font-size: 22px;
} */
.section-skills__separate {
  background: #dfe8ed !important;
}

.section-skills__text {
  margin: 0 auto;
  max-width: 580px;
  color: #3c4761;
}

.section-skills__end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}

.section-skills__progress {
  position: relative;
  height: 175px;
  width: 170px;
  background-size: contain;
  background-repeat: no-repeat
}

.section-skills__progress.sky {
  background-image: url("../img/section-skills/progress-sky.png");
}
.section-skills__progress.pink {
  background-image: url("../img/section-skills/progress-pink.png");
}
.section-skills__progress.teal {
  background-image: url("../img/section-skills/progress-teal.png");
}
.section-skills__progress.orange {
  background-image: url("../img/section-skills/progress-orange.png");
}

.section-skills__number {
  position: absolute;
  transform: translate(-40%, 100%);
  font-size: 45px;
  color: #3c4761;
}

.section-skills__info {
  color: #3c4761;
}

@media (max-width: 767px) {
  .section-skills__end {
    flex-direction: column;
  }
  .section-skills__item {
    margin: 0 auto 45px;
  }
  .section-skills__text {
    font-size: 14px;
  }
}
/* section-skills end */

/* section-portfolio start */
.section-portfolio {
  background: #ffdd99;
}

.section-portfolio__container {
  position: relative;
  text-align: center;
}

.section-portfolio__title {
  margin: 20px auto;
  color: #393939;
}

.section-portfolio__separate {
  background: #e5c37f !important;
}

.section-portfolio__text {
  margin: 10px auto;
  color: #393939;
  max-width: 520px;
}

.section-portfolio__wrapper {
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.section-portfolio__item {
  margin-left: -40px;
  margin-bottom: 40px;
  width: 541px;
}
.section-portfolio__img {
  margin-bottom: 10px;
}

.section-portfolio__btn .btn {
  background: #17c2a4;
  border-bottom-color: #009c7e;
}

@media (max-width: 992px) {
  .section-portfolio__wrapper {
    justify-content: center;
  }
  .section-portfolio__item {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .section-portfolio__item {
    width: 430px
  }
  .section-portfolio__text {
    font-size: 14px;
    width: 100%;
  }
}

@media (max-width: 320px) {
  .section-portfolio__text {
    font-size: 14px;
  }
}
/* section-portfolio end */

/* section-testimonials start */
.section-testimonials {
  background: #d74680;
}

.section-testimonials__container {
  position: relative;
  text-align: center;
}

.section-testimonials__title {
  margin: 20px auto;
}

.section-testimonials__separate {
  background: #b73c6d !important;
}

.section-testimonials__text {
  margin: 0 auto;
}
.section-testimonials__description {
  display: inline-block;
  max-width: 325px;
  padding-top: 10px;
  text-align: left;
  font-style: italic;
}

.section-testimonials__wrapper {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.section-testimonials__item {
  display: flex;
  text-align: left;
  max-width: 475px;
}
.section-testimonials__item:nth-child(1),
.section-testimonials__item:nth-child(2) {
  margin-bottom: 120px;
}

.section-testimonials__icon {
  height: 96px;
  width: 96px;
  border-radius: 100px;
  background: #878787;
  margin-right: 40px;
}

.section-testimonials__name {
  margin-bottom: 0;
}
.section-testimonials__prof {
  color: #ffdd99;
}

@media(max-width: 992px) {
  .section-testimonials__wrapper {
    justify-content: center;

  }
  .section-testimonials__item {
    max-width: 100%;
  }
  .section-testimonials__item:nth-child(1n+1) {
    margin-bottom: 60px;
  }
}

@media(max-width: 320px) {
  .section-testimonials__icon {
    margin: 0 auto;
  }
  .section-testimonials__item {
    display: block;
    text-align: center;
  }
  .section-testimonials__description {
    font-size: 14px;
    text-align: center;
  }
}
/* section-testimonials end */

/* section-touch start */
.section-touch {
  background: #3c5499;
}

.section-touch__container {
  position: relative;
  text-align: center;
}

.section-touch__title {
  margin: 20px auto;
}

.section-touch__separate {
  background: #273a71 !important;
}

.section-touch__btn .btn {
  background: #30bae7;
  border-bottom-color: #0a94c1;
}

@media (max-width: 767px) {
  .section-touch__btn .btn {
    width: 100%;
  }
  .section-touch__btn .btn:hover {
    transform: none;
  }
}
@media (max-width: 576px) {
  .section-touch__text {
    font-size: 15px;
  }
}
@media (max-width: 320px) {
  .section-touch__text {
    font-size: 12px;
  }
}
/* section-touch end */

/* footer-page start */
.footer-page {
  background: #344b8e;
  padding: 25px 0;
}

@media (max-width: 320px) {
  .footer-page {
    padding: 20px 0;
  }
}
/* footer-page end */

/* components start */
/* container start */
.container {
  margin: 0 auto;
  padding: 0 20px;
  width: 1100px;
  max-width: 100%;
}
/* container end */


/* section start */
.section {
  padding: 110px 0;
}
/* section end */

/* btn start */
.btn {
  padding: 20px 40px;
  border: none;
  border-radius: 5px;
  background: #eb7d4b;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  border-bottom: 3px solid #c55725;
  transition: transform .2s, opacity .2s;
  text-align: center;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  opacity: .7;
  transform: scale(1);
}
/* btn end */

/* separate start */
.separate {
  width: 87px;
  height: 4px;
  background: #14a58c;
  margin: -10px auto 20px;
}
/* separate end */

/* contacts start */
.contacts {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contacts__item {
  margin-right: 10px;
}
.contacts__link {
  display: inline-block;
}
.contacts__icon {
  width: 32px;
  height: 32px;
}
.contacts__icon:hover {
  transform: scale(1.1);
  transition: transform .2s;
}

.contacts__icon:active {
  transform: scale(1);
  opacity: .7;
}
/* contacts end */


/* portfolio__nav start */
.portfolio__nav {
  display: flex;
  justify-content: center;
}

.portfolio__wrapper {
  display: flex;
  list-style: none;
  padding: 0
}
.portfolio__item {
  padding: 0 5px;
}

.portfolio__btn {
  display: inline-block;
  padding: 10px;
  width: 84px;
  max-width: 100%;
  border: none;
  border-radius: 5px;
  color: #393939;
  background: #000;
  transition: transform .2s, background .2s;
}

.portfolio__btn.is-active {
  background: #fff;
}

.portfolio__btn:not(.is-active):hover {
  background: #fff;
  transform: scale(1.1);
}

.portfolio__btn:not(.is-active):active {
  background: #f0f0f0;
  transform: scale(1);
}

@media (max-width: 320px) {
  .portfolio__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .portfolio__btn {
    padding: 20px;
    width: 120px;
  }
  .portfolio__item {
    padding: 10px 10px;
  }
}
/* portfolio__nav end */

/* form start */
.form {
  display: flex;
  flex-direction: column;
  max-width: 865px;
  margin: 60px auto auto auto;
}

.form__wrapper {
  display: flex;
  justify-content: space-between;
}

.form__input {
  display: block;
  padding: 10px 25px;
  margin-bottom: 25px;
  width: 414px;
  height: 56px;
  border: 0;
  border-radius: 5px;
  background: #273a71;
  color: #fff;
}
.form__textarea {
  display: block;
  padding: 20px 25px;
  max-width: 100%;
  min-width: 100%;
  max-height: 400px;
  min-height: 200px;
  height: 200px;
  border: 0;
  border-radius: 5px;
  background: #273a71;
  color: #fff;
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .form__wrapper {
    display: block;
  }
  .form__input {
    width: 100%;
  }
}
/* form end */

/* socials start */
.socials {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials__link {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  transition: color .2s;
}

.socials__link:hover {
  color: #30bae7;
}

@media (max-width: 576px) {
  .socials__link {
    font-size: 15px;
  }
}
@media (max-width: 320px) {
  .socials__link {
    font-size: 8px;
  }
}
/* socials end */
/* components end */
